Horner’s Method for Evaluating and Deflating Polynomials
نویسندگان
چکیده
Horner’s method is a standard minimum arithmetic method for evaluating and deflating polynomials. It can also efficiently evaluate various order derivatives of a polynomial, therefore is often used as part of Newton’s method. This note tries to develop the various techniques called Horner’s method, nested evaluation, and synthetic division in a common framework using a recursive structure and difference equations. There is a similarity to Goertzel’s algorithm for the DFT, Z-transform inversion by division, and Padé’s and Prony’s methods. This approach also allows a straight forward explanation of “stability” or numerical errors of the algorithms. Matlab implementations are given.
منابع مشابه
Some Experiments with Evaluation of Legendre Polynomials
Common practice is to recommend evaluation of polynomials by Horner’s rule. Here’s an example where it is fast but doesn’t work nearly as accurately as another fairly easy method. Can a method for Legendre polynomials be both fast and accurate? 1 1 Legendre Polynomials A substantial literature has grown up around the uses for orthonormal polynomials. Here we look at the example of Legendre poly...
متن کاملEvaluating Bernstein-Rabin-Winograd Polynomials
We describe an algorithm which can efficiently evaluate Bernstein-Rabin-Winograd (BRW) polynomials. The presently best known complexity of evaluating a BRW polynomial on m ≥ 3 field elements is bm/2c field multiplications. Typically, a field multiplication consists of a basic multiplication followed by a reduction. The new algorithm requires bm/2c basic multiplications and 1 + bm/4c reductions....
متن کاملA Fast Single-Key Two-Level Universal Hash Function
Universal hash functions based on univariate polynomials are well known, e.g. Poly1305 and GHASH. Using Horner’s rule to evaluate such hash functions require ` − 1 field multiplications for hashing a message consisting of ` blocks where each block is one field element. A faster method is based on the class of Bernstein-Rabin-Winograd (BRW) polynomials which require b`/2c multiplications and blg...
متن کاملEfficient Implementation of Higher Order Image Interpolation
This work presents a new method of fast cubic and higher order image interpolation. The evaluation of the piecewise n-th order polynomial kernels is accelerated by transforming the polynomials into the interval [0, 1], which has the advantage that some terms of the polynomials disappear, and that several coefficients could be precalculated, which is proven in the paper. The results are exactly ...
متن کاملComparison of Bit and Word Level Algorithms for Evaluating Unstructured Functions over Finite Rings
We study the problem of implementing multivariate functions defined over finite rings or fields as parallel circuits. Such functions are essential for building cryptographic substitution boxes and hash functions. We present a modification to Horner’s algorithm for evaluating arbitrary n-variate functions defined over finite rings and fields. Our modification is based on eliminating redundancies...
متن کامل